package com.example.mybatisdemo.mapper;

import com.example.mybatisdemo.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleInfoMapper {

    List<ArticleInfo> selectArticleById(Integer id);

    List<ArticleInfo> selectArticleAndUserById(Integer id);


}
